package com.example.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("product_stats_daily")
public class ProductStats {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long productId;
    private LocalDate statsDate;
    private Integer viewCount;
    private Integer salesCount;
    private Integer favoriteCount;
    private LocalDateTime createdAt;
}